@extends('layouts.main')

@section('side')
<div class="well" style="max-width: 340px; padding: 8px 0;">
    <ul class="nav nav-list">
        <li class="nav-header">Menu</li>
        <li class="{{ ($page=='home') ? 'active' : '' ; }}"><a href="{{URL::to('/admin/home');}}"><i class="icon-home"></i> Home</a></li>
        <li class="{{ ($page=='post') ? 'active' : '' ; }}" ><a href="{{URL::to('/admin/post');}}"><i class="icon-th-list"></i> Post</a></li>
        <li class="{{ ($page=='collection') ? 'active' : '' ; }}"><a href="{{URL::to('/admin/collection');}}"><i class="icon-hdd"></i> Collection</a></li>
        <li class="divider"></li>
        <li class="{{ ($page=='settings') ? 'active' : '' ; }}"><a href="{{URL::to('/admin/settings');}}"><i class="icon-wrench"></i> Setting</a></li>
        <li class="{{ ($page=='help') ? 'active' : '' ; }}"><a href="{{URL::to('/admin/help');}}"><i class="icon-question-sign"></i> Help</a></li>
         <li class="{{ ($page=='test') ? 'active' : '' ; }}"><a href="{{URL::to('/admin/test');}}"><i class="icon-question-sign"></i> Test</a></li>
        
        <li class="divider"></li>
        <li class="{{ ($page=='Logout') ? 'active' : '' ; }}"><a href="{{URL::to('/admin/logout');}}"><i class="icon-chevron-left"></i> Logout</a></li>
    </ul>
</div>
@endsection